﻿using System.Drawing;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

namespace WebComponents.Templates.AdminControlProj
{
    [DefaultProperty("Text")]
    [ToolboxData("<{0}:RoundPanel runat=server></{0}:RoundPanel>")]
    public class RoundPanel : Panel
    {
        [
         Bindable(true),
         Category("Appearance"),
         DefaultValue(""),
         Description("Round Panel"),
         Localizable(true)
         ]
        private string panelTitle = string.Empty;
        public string PanelTitle
        {
            get
            {
                return this.panelTitle;
            }
            set
            {
                this.panelTitle = value;
            }
        }



        protected override void RenderContents(HtmlTextWriter writer)
        {
            writer.Write(String.Format(@"
                <section> 
				    <div class='block-border'>
                        <div class='block-content no-title'> 
					        <ul class='simple-list with-icon'> 
						        <li class='icon-date'><span>Lorem ipsum</span></li> 
					        </ul> 
				        </div>
                    </div> 
			    </section> 
            "));
        }
    }
}
